{% extends 'base.html' %}

{% block title %}Create a New Project{% endblock title %}

{% block content %}
<h1>Create a New Project</h1>
{% if form.errors %}
{{ form.non_field_errors }}
{% endif %}
<form action="" method="post">
<dl>
<dt>{{ form.title.label_tag }}:</dt>
{% if form.title.errors %}<dd class="error">{{ form.title.errors|join:", " }}</dd>{% endif %}
<dd>{{ form.title }}</dd>
<dt>{{ form.description.label_tag }}:</dt>
{% if form.description.errors %}<dd class="error">{{ form.description.errors|join:", " }}</dd>{% endif %}
<dd>{{ form.description }}</dd>
<dt>{{ form.url.label_tag }}:</dt>
{% if form.url.errors %}<dd class="error">{{ form.url.errors|join:", " }}</dd>{% endif %}
<dd>{{ form.url }}</dd>
<dt>{{ form.private.label_tag }}</dt>
<dd>{{ form.private }}</dd>
</dl>
<div><input type="submit" value="Create Project" /></div>
</form>
{% endblock content %}